<%@ page import="entity.Characters" %>
<%@ page import="java.util.List" %><%--
  Created by IntelliJ IDEA.
  User: zhouya
  Date: 2019/6/26/0026
  Time: 1:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>
        a {color: #01040c; text-decoration:none;}
        a:visited {text-decoration:none;}
        a:hover {color:#ba2636;text-decoration:underline;}
        a:active {color:#ba2636;}
        #menu{width: 15%;height: 100%;float: left}
        #content{width: 84%;height: 100%;float: left}
    </style>
    <%
        List<Characters> charactersList=(List<Characters>)request.getAttribute("list");
    %>
</head>
<body>
<div>
    <div id="menu">
        <%for(Characters ls:charactersList){%>
        <a href="AdminPermissionServlet?characterID=<%=ls.getCharacterID()%>" target="right_content">
            <%=ls.getCharacterName()%></a><br>
        <%}%>
    </div>
    <iframe id="content" name="right_content" frameborder="0"></iframe>
</div>
</body>
</html>
